
	<div id="content" data-dropdown="false" data-el="type">

		<!-- PjType -->
		<h1>{{.Tpl.Title}}<a href={{urlfor "PjTypeController.Create"}} class="btn btn-primary pull-right">创建</a></h1>

		<table class="table table-bordered table-hover" style="background-color: #fff">
			<tbody>
				<tr><th>#</th><th>{{.Tpl.Attributes.ID}}</th><th>{{.Tpl.Attributes.TypeName}}</th><th>Operate</th></tr>
				{{range $k,$v := .Tpl.Model}}
				<tr>
					<td>{{$k}}</td><td>{{$v.ID}}</td><td>{{$v.TypeName}}</td>
					<td>
						<a href="{{urlfor "PjTypeController.View"}}?type_id={{$v.ID}}"><i class="glyphicon glyphicon-eye-open"></i></a>
						<a href="{{urlfor "PjTypeController.Update"}}?type_id={{$v.ID}}"><i class="glyphicon glyphicon-pencil"></i></a>
						<a href="{{urlfor "PjTypeController.Del"}}?type_id={{$v.ID}}" onclick="return confirm('Makesure Delete ID:{{$v.ID}}')"><i class="glyphicon glyphicon-trash"></i></a>
					</td>
				</tr>
				{{end}}
			</tbody>
		</table>

	</div>
	